#include "stdafx.h"
#include "CapSelExport.h"
#include "CapSelDlg.h"
#include "..\BtsClient\Communication\IMainPro.h"

#define AFX_EXPORT_DLLCLASS
CCapSelDll::CCapSelDll(){

}

CCapSelDll::~CCapSelDll(){

}
CCapSelDlg* pDlg = NULL;
void CCapSelDll::ShowDlg()
{
	AFX_MANAGE_STATE(AfxGetStaticModuleState());
	if (!pDlg)
	{
		pDlg = new CCapSelDlg;
		pDlg->Create(IDD_DIALOG_CAP_SEL, NULL);
	}

	pDlg->ShowWindow(SW_SHOW);
	//CCapSelDlg dlg;
	//dlg.DoModal();
}

void CCapSelDll::SetMainPro( IMainPro* pIMainPro )
{
	theApp.m_pIMainPro = pIMainPro;
}

